/**
 * File Comment: Doctor session on the client side
 */
package edu.gatech.oad.project.networking.clientSessions; // $codepro.audit.disable packageNamingConvention

import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;

import edu.gatech.oad.project.operations.users.Doctor;

/**
 * Doctor Session on the client side.
 * 
 * @author James Moore
 * @version 1.0
 */
public class DoctorSessionClient extends NurseSessionClient{
    
    /**
     * Default constructor
     * 
     * @param server connection
     * @param outBound stream to the server
     * @param inBound stream from the server
     * @param token security token
     * @param doc the active user
     */
    public DoctorSessionClient(Socket server, ObjectOutputStream outBound, 
                                    ObjectInputStream inBound, long token, Doctor doc) {
        
        super(server, outBound, inBound, token, doc);
    }

    /**
     * 
     * @see java.lang.Object#toString()
     * @return a string
     */
    @Override
    public String toString() {
        return "DoctorSessionClient [server=" + server + ", outBound="
                + outBound + ", inBound=" + inBound + ", token=" + token
                + ", user=" + user + "]";
    }
    
}
